package com.boot.framework.common;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yangfan
 * @date 2024/1/13
 * @Description
 */
@Data
public class DropTree {
    private String id;

    private String parentId;

    private String label;

    private String value;

    private List<DropTree> children;

    public List<DropTree> getChildren() {
        if (children==null){
            children=new ArrayList<>();
        }
        return children;
    }
}
